
// setTimeout(function () {
//     var a = "hallo"
//     setTimeout(function () {
//         var b = "lagou"
//         setTimeout(function () {
//             var c = "I ♥️ you"
//         }, 10)
//     }, 10)
// }, 10)



new Promise((resolve, reject) => {
    setTimeout(function () {
        var a = "hallo "
        resolve(a)
    }, 10)
})
    .then((a) => {
        return new Promise((resolve, reject) => {
            setTimeout(function () {
                var b = a + "lagou "
                resolve(b)
            }, 10)
        })

    })
    .then((b) => {
        return new Promise((resolve, reject) => {
            setTimeout(function () {
                var c = b + "I ♥️ you"
                console.log(c);
            }, 10)
        })
    })


